/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'
import i18n from '@/lang/index'

const productRouter = {
  path: '/adminh5/activity',
  component: Layout,
  redirect: '/adminh5/activity',
  name: 'activity',
  meta: {
    title: i18n.t('route.activity'),
    icon: 'chart'
  },
  children: [
    {
      path: 'activity',
      component: () => import('@/views/adminh5/activity/activity'),
      name: 'activity',
      meta: { title: i18n.t('activity'), icon: 'list' }
    },
    {
      path: 'quotation',
      component: () => import('@/views/adminh5/activity/quotation'),
      name: 'quotation',
      meta: { title: i18n.t('quotation'), icon: 'list' }
    },
    {
      path: 'subscribe',
      component: () => import('@/views/adminh5/activity/subscribe'),
      name: 'subscribe',
      meta: { title: i18n.t('subscribe'), icon: 'list' }
    }
  ]
}
export default productRouter
